﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="newfile.aspx.cs" Inherits="AnyOffice.general.knowledge.tnewfile" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title>上传文件</title>
		<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
		<meta name="CODE_LANGUAGE" Content="C#">
		<meta name="vs_defaultClientScript" content="JavaScript">
		<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
		<script Language="JavaScript">		
		function CheckForm()
		{
			if (document.Form1.File1.value=="" && document.Form1.File2.value=="" && document.Form1.File3.value=="")
			{
				alert("请选择需要上传的文件！");				
				return (false);
			}
			document.getElementById("PleaseWait").style.display = 'none';
			document.getElementById("trLoad").style.display = '';		
			document.body.style.cursor="wait";			
			return true;
		}			   
		</script>
		<style>
		.loading { BORDER-RIGHT: #000000 1px solid; BORDER-TOP: #000000 1px solid; BACKGROUND: #ecf2ff; MARGIN-LEFT: auto; BORDER-LEFT: #000000 1px solid; WIDTH: 200px; MARGIN-RIGHT: auto; BORDER-BOTTOM: #000000 1px solid }
		.loading DIV { BORDER-RIGHT: #ecf2ff 1px solid; BORDER-TOP: #ecf2ff 1px solid; FONT-SIZE: 1px; BACKGROUND: #6699cc; FLOAT: left; BORDER-LEFT: #ecf2ff 1px solid; WIDTH: 10px; BORDER-BOTTOM: #ecf2ff 1px solid; HEIGHT: 12px }
		</style>
	</HEAD>
	<body class="bodycolor" topMargin="5">
		<form id="Form1" method="post" runat="server">
			<TABLE class="small" cellSpacing="0" cellPadding="3" width="100%" border="0">
				<TR>
					<TD class="Big"><IMG height="20" src="/images/menu/knowledge.gif" width="20" align="absMiddle"><SPAN class="big3">
							共享目录（<asp:Literal id="litNavTitle" runat="server"></asp:Literal>）</SPAN>
					</TD>
				</TR>
			</TABLE>
			<asp:Panel id="pnlMain" runat="server">
				<TABLE class="small" cellSpacing="1" cellPadding="3" width="500" align="center" bgColor="#000000"
					border="0">
					<TR class="TableHeader">
						<TD noWrap colSpan="2">&nbsp;&nbsp;<IMG src="upload.gif" align="absMiddle" border="0">&nbsp;上传文件</TD>
					</TR>
					<TR class="TableLine1">
						<TD noWrap align="right">上传到此位置：</TD>
						<TD noWrap><SELECT class="BigSelect" id="parentPath" name="parentPath" runat="server">
								<OPTION selected></OPTION>
							</SELECT></TD>
					</TR>
					<TR class="TableLine1">
						<TD noWrap align="right">文件：</TD>
						<TD noWrap><INPUT class="SmallInput" id="File1" type="file" name="File1" runat="server"><BR>
							<INPUT class="SmallInput" id="File2" type="file" name="File1" runat="server"><BR>
							<INPUT class="SmallInput" id="File3" type="file" name="File1" runat="server"></TD>
					</TR>
					<TR class="TableLine1" id="trLoad" style="DISPLAY: none">
						<TD noWrap align="center" colSpan="2">正在添加文件到您的个人文件柜中，请稍候……
							<BR>
							<MARQUEE class="loading" scrollAmount="5" scrollDelay="10" direction="right">
								<DIV></DIV>
								<DIV></DIV>
								<DIV></DIV>
								<DIV></DIV>
								<DIV></DIV>
								<DIV></DIV>
							</MARQUEE>
							<BR>
						</TD>
					</TR>
					<TR class="TableControl" id="PleaseWait">
						<TD noWrap align="center" colSpan="2">
							<asp:Button id="btnSubmit" runat="server" Text="确定" CssClass="BigButton" onclick="btnSubmit_Click"></asp:Button>&nbsp;&nbsp;
							<asp:Button id="btnBack" runat="server" Text="返回" CssClass="BigButton" onclick="btnBack_Click"></asp:Button></TD>
					</TR>
				</TABLE>
			</asp:Panel>
			<asp:Literal id="litMessage" runat="server"></asp:Literal>
		</form>
	</body>
</HTML>
